#!/bin/sh

if [ -e "/home/hjj/share/myLinuxcproject/shell/homework/day1_huangjiaji/test.data" ] 
#&& rm /home/hjj/share/myLinuxcproject/shell/homework/day1_huangjiaji/test.data -fr
then
#	[ -e "/home/hjj/share/myLinuxcproject/shell/homework/day1_huangjiaji/test.data" ] && rm /home/hjj/share/myLinuxcproject/shell/homework/day1_huangjiaji/test.data -fr 
	echo "file has been deleted"
	rm /home/hjj/share/myLinuxcproject/shell/homework/day1_huangjiaji/test.data -fr
else
	echo "hello" > test.data
fi
